using UnityEngine;
using System.Collections;

/// <summary>
/// Player.
/// </summary>

public class Movement : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	// Moving Character
		
		if(transform.position.y <24){
		transform.Translate(Vector3.up * Time.deltaTime);
		}else
			transform.Translate(Vector3.down * Time.deltaTime);
		
		
	
	}
}
